#include <iostream>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <cstring>
#include <string>
#include <cctype>
#include <cstdlib>
#include <map>
#include <bitset>
#include <unordered_map>
#include <ctime>
#include <vector>
#include <queue>
#include <list>
#include <stack>

#define R register
#define L long
#define LL long long
#define I inline
#define U unsigned
using namespace std;
I LL read()
{
    R LL   x;
    R bool f;
    R char c;
    for(f=0;(c=getchar())<'0'||c>'9';f=c=='-');
    for(x=c-'0';(c=getchar())>='0'&&c<='9';x=(x<<3)+(x<<1)+c-'0');
    return f?-x:x;
}
#define MAXN 100011
int a[MAXN];
int main()
{
    freopen("7-1.in","r",stdin);
    //freopen("7-1.out","w",stdout);
    int n=read();
    for(int i=0;i<n;a[i]=read(),++i);
    sort(a,a+n);
    for(int i=0;i<n;printf("%s%d",i?" ":"",a[i]),++i);
    
    
    fclose(stdin);
    fclose(stdout);
    return 0;
}